package com.lglbc.day13;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 乐哥聊编程
 * @Doc 关注公众号"乐哥聊编程"获取文档和源码
 * @Date 2023/4/13
 * @Description
 */
@RequestMapping
@RestController

public class IndexController {
    @RequestMapping("/cors")
//    @CrossOrigin("http://127.0.0.1:8848")
    public String hello() {
        return "hello";
    }
}
